#include "Texture.h"

Texture::Texture(std::string id, std::string path):id(id),texturePath(path){
	this->image = new Image(path);
}

Texture::~Texture(){
	if(image)
		delete image;
	image=NULL;
}


Image* Texture::getImage(){
	return this->image;
}

